chore: include the running CPython version in the unsupported error (PROF-14439) - #19911
chore: include the running CPython version in the unsupported error (PROF-14439)#19911vlad-scherbich wants to merge 4 commits into
Conversation
Codeowners resolved asResolved from the full PR diff against |
Circular import analysis
|
Dependency direction analysis
|
🎉 All green!🧪 All tests passed 🔗 Commit SHA: 0082495 | Docs | View more details | Give us feedback! |
BenchmarksBenchmark execution time: 2026-08-30 03:20:20 Comparing candidate commit 0082495 in PR branch Found 0 performance improvements and 8 performance regressions! Performance is the same for 578 metrics, 10 unstable metrics, 18 flaky benchmarks without significant changes.
|
0f7f01c to
38c0fae
Compare
def36ad to
1a43844
Compare
38c0fae to
4216070
Compare
Monitoring inject_hook already works. The wrap raise tests are skipif below NEXT and would demand a raise after wrap lift; they do not pin this PR error-string change.
Description
NEXT_PY_UNSUPPORTED_MSGnow interpolatessys.version_info[:2], so wrapping and bytecode-injection raises becomeThis version of CPython is not supported yet: 3.15(or whatever is running). 3.15 remains unsupported;requires-pythonis unchanged.Testing
tests/internal/test_py315_import_degrade.pypins the new wording on the constant. It does not assert wrap() or inject_hook raises: monitoring inject_hook already works, and wrap raise is not this PR.Risks
None.
Additional Notes
Internal error string only.
changelog/no-changelog. Base: #19880. Wrap lift is #19910 (onmain) / #19928 on this stack.